package com.dliub.cloud.config;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;

@SpringBootApplication
@EnableConfigServer
@EnableDiscoveryClient
public class DliubCloudConfigApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder(DliubCloudConfigApplication.class)
                .banner(new ConfigBanner())
                .logStartupInfo(true)
                .run(args);
    }
}
